package Demo05.Demo05;

public class Demo05_Person {
    private  String name;
    private  int age;

    public Demo05_Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public void display(){
        System.out.println("姓名： " + this.name + "\n年龄：" + this.age );

    }
}
